package ai.people.platform.archives.mapper;

import ai.people.netmon.framework.domain.archives.entity.Clue;
import ai.people.netmon.framework.domain.archives.entity.ClueArchives;
import ai.people.netmon.framework.domain.archives.request.ClueListRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhenglin
 * @since 2022-05-31
 */
@Mapper
public interface ClueMapper extends BaseMapper<Clue> {

    Page<ClueArchives> pageCustom(Page<Clue> page, ClueListRequest request, Long userId, String tagsStr);

    Page<ClueArchives> pageCustomAdmin(Page<Clue> page, ClueListRequest request,@Param("tagsStr") String tagsStr);
}
